package br.com.io.streams;

import java.io.File;
import java.io.IOException;

public class PropriedadesArquivo {

	public static void main(String[] args) throws IOException {
		//File file = new File("./documents", "../book/../chapter1");
		File file = new File("./documents", "../book/../chapter1");
		System.out.println(file.getPath());
		System.out.println(file.getAbsolutePath());
		System.out.println(file.getCanonicalPath());
		System.out.println(file.getName());
		System.out.println(file.getParent());
	}
}
